package wf.dto.geocon;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
import javax.persistence.Transient;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "frageo.pbgeolin",
            query = "select * from frageo.pbgeolin(:p_id_geocon);",
            resultClass = GeolinDto.class)
})
public class GeolinDto implements Serializable {

    @EmbeddedId
    private GeolinDtoID id;
    @Column(name = "ti_lincol")
    private String ti_lincol;
    @Column(name = "nu_lingro")
    private short nu_lingro;
    @Column(name = "no_lindes")
    private String no_lindes;
    @Transient
    private double nu_geolat_a;
    @Transient
    private double nu_geolon_a;
    @Transient
    private double nu_geolat_b;
    @Transient
    private double nu_geolon_b;

    public GeolinDtoID getId() {
        return id;
    }

    public void setId(GeolinDtoID id) {
        this.id = id;
    }

    public String getNo_lindes() {
        return no_lindes;
    }

    public void setNo_lindes(String no_lindes) {
        this.no_lindes = no_lindes;
    }

    public short getNu_lingro() {
        return nu_lingro;
    }

    public void setNu_lingro(short nu_lingro) {
        this.nu_lingro = nu_lingro;
    }

    public String getTi_lincol() {
        return ti_lincol;
    }

    public void setTi_lincol(String ti_lincol) {
        this.ti_lincol = ti_lincol;
    }

    public double getNu_geolat_a() {
        return nu_geolat_a;
    }

    public void setNu_geolat_a(double nu_geolat_a) {
        this.nu_geolat_a = nu_geolat_a;
    }

    public double getNu_geolat_b() {
        return nu_geolat_b;
    }

    public void setNu_geolat_b(double nu_geolat_b) {
        this.nu_geolat_b = nu_geolat_b;
    }

    public double getNu_geolon_a() {
        return nu_geolon_a;
    }

    public void setNu_geolon_a(double nu_geolon_a) {
        this.nu_geolon_a = nu_geolon_a;
    }

    public double getNu_geolon_b() {
        return nu_geolon_b;
    }

    public void setNu_geolon_b(double nu_geolon_b) {
        this.nu_geolon_b = nu_geolon_b;
    }
}
